namespace BassettData.Robots
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Defines a wall that runs from east-to-west at a particular street.
    /// </summary>
    public struct EastWestWallLocation
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="EastWestWallLocation"/> struct.
        /// </summary>
        /// <param name="street">The street.</param>
        /// <param name="firstAvenue">The first avenue.</param>
        /// <param name="lastAvenue">The last avenue.</param>
        public EastWestWallLocation(int street, int firstAvenue, int lastAvenue)
            : this()
        {
            Street = street;
            FirstAvenue = firstAvenue;
            LastAvenue = lastAvenue;
        }

        /// <summary>
        /// Gets the street.
        /// </summary>
        /// <value>The street.</value>
        public int Street { get; private set; }

        /// <summary>
        /// Gets the first avenue.
        /// </summary>
        /// <value>The first avenue.</value>
        public int FirstAvenue { get; private set; }

        /// <summary>
        /// Gets the last avenue.
        /// </summary>
        /// <value>The last avenue.</value>
        public int LastAvenue { get; private set; }
    }
}
